package com.ruoyi.luck.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * task对象 luc_mark_task
 *
 * @author ruoyi
 * @date 2023-01-29
 */
@TableName("luc_mark_task")
public class LucMarkTask extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    @TableId(type = IdType.AUTO)
    @TableField("id")
    private Long id;

    /** 任务名称 */
    @Excel(name = "任务名称")
    @TableField("task_name")
    private String taskName;

    /** 可完成功能 */
    @Excel(name = "可完成功能")
    @TableField("function")
    private String function;

    /** 参与限制 */
    @Excel(name = "参与限制")
    @TableField("user_limit")
    private String userLimit;

    /** 刷新次数限制 */
    @Excel(name = "刷新次数限制")
    @TableField("num_limit")
    private String numLimit;

    /** 刷新次数限制 */
    @TableField("m_id")
    private Long mId;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setTaskName(String taskName)
    {
        this.taskName = taskName;
    }

    public String getTaskName()
    {
        return taskName;
    }
    public void setFunction(String function)
    {
        this.function = function;
    }

    public String getFunction()
    {
        return function;
    }
    public void setUserLimit(String userLimit)
    {
        this.userLimit = userLimit;
    }

    public String getUserLimit()
    {
        return userLimit;
    }
    public void setNumLimit(String numLimit)
    {
        this.numLimit = numLimit;
    }

    public String getNumLimit()
    {
        return numLimit;
    }
    public void setmId(Long mId)
    {
        this.mId = mId;
    }

    public Long getmId()
    {
        return mId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("taskName", getTaskName())
            .append("function", getFunction())
            .append("userLimit", getUserLimit())
            .append("numLimit", getNumLimit())
            .append("mId", getmId())
            .toString();
    }
}
